<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <link rel='stylesheet' type='text/css' href='http://fonts.useso.com/css?family=Open+Sans:300,400,600,700,400italic'>
    <link rel="stylesheet" type="text/css" href="/study/study/Public/resource/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/study/study/Public/resource/font-awesome.min.css">    
    <link rel="stylesheet" type="text/css" href="/study/study/Public/resource/css/style.css">
    <title>Welocome！欢迎访问！！</title>
</head>

<body>

<div class="main-body">
	<div class="container">
		<div class="row">
			<div class="main-page">

				<aside class="main-navigation">
					<div class="main-menu">

						<div class="menu-container">
							<div
								class="block-keep-ratio block-keep-ratio-2-1 block-width-full home">
								<a href="index.html"
									class="block-keep-ratio__content  main-menu-link"> <span
									class="main-menu-link-text"> 主页 </span>
								</a>
							</div>
						</div>

						<div class="menu-container">
							<div
								class="block-keep-ratio  block-keep-ratio-1-1  block-width-half  pull-left  about-main">
								<a href="about.html"
									class="main-menu-link about block-keep-ratio__content flexbox-center">
									<i class="fa fa-user fa-4x main-menu-link-icon"></i> 学生登录/注册
								</a>
							</div>

							<div
								class="block-keep-ratio  block-keep-ratio-1-1  block-width-half  pull-right  contact-main">
								<a href="contact.html"
									class="main-menu-link contact block-keep-ratio__content flexbox-center">
									<i class="fa fa-envelope-o fa-4x main-menu-link-icon"></i>
									管理员登录
								</a>
							</div>
						</div>

						<div class="menu-container">
							<div
								class="block-keep-ratio  block-keep-ratio-1-1  block-width-half  pull-left  about-main">
								<a href="about.html"
									class="main-menu-link about block-keep-ratio__content flexbox-center">
									<i class="fa fa-user fa-4x main-menu-link-icon"></i> 个人信息
								</a>
							</div>

							<div
								class="block-keep-ratio  block-keep-ratio-1-1  block-width-half  pull-right  contact-main">
								<a href="contact.html"
									class="main-menu-link contact block-keep-ratio__content flexbox-center">
									<i class="fa fa-envelope-o fa-4x main-menu-link-icon"></i>
									社团负责人登录
								</a>
							</div>
						</div>

						<div class="menu-container">
							<div
								class="block-keep-ratio block-keep-ratio-1-1 block-keep-ratio-md-2-1 block-width-full gallery">
								<a href="gallery.html"
									class="main-menu-link  block-keep-ratio__content"> <span
									class="main-menu-link-text"> 活动信息 </span>
								</a>
							</div>
						</div>

						<div class="menu-container">
							<div
								class="block-keep-ratio block-keep-ratio-1-1 block-keep-ratio-md-2-1 block-width-full gallery">
								<a href="gallery.html"
									class="main-menu-link  block-keep-ratio__content"> <span
									class="main-menu-link-text"> 社团信息 </span>
								</a>
							</div>
						</div>


						<!-- sidebar carousel -->
						<div class="menu-container">
							<div class="mauris">
								<div id="carousel-menu" class="carousel slide"
									data-ride="carousel">
									<!-- Wrapper for slides -->
									<div class="carousel-inner" role="listbox">
										<div class="item active">
											<img src="images/slider-img-1.png" alt="slider">
											<div class="carousel-caption menu-caption">mauris vita
											</div>
										</div>
										<div class="item">
											<img src="images/menu-bg-home.png" alt="slider">
											<div class="carousel-caption menu-caption">lorem ipsum
											</div>
										</div>
									</div>

									<!-- Controls -->
									<a class="left carousel-control" href="#carousel-menu"
										role="button" data-slide="prev"> <span
										class="fa fa-caret-left" aria-hidden="true"></span> <span
										class="sr-only">Previous</span>
									</a> <a class="right carousel-control" href="#carousel-menu"
										role="button" data-slide="next"> <span
										class="fa fa-caret-right" aria-hidden="true"></span> <span
										class="sr-only">Next</span>
									</a>
								</div>
							</div>
							<!-- .mauris -->
						</div>
					</div>
					<!-- main-menu -->
				</aside>
				<!-- main-navigation -->



				<div class="content-main">

					<div class="row">
						<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
							<div class="box bottom-main">
								<div class="info float-container">
									<div class="col-sm-12 bottom-title">
										<h3 class="text-uppercase">社团详情</h3>
										<h4 class="text-uppercase">mauris vitae erat</h4>
									</div>

									<div class="row">
										<div class="col-sm-12 col-md-10 contact_left">
											<form class="form-horizontal" method="post" action=>

												<input type="hidden" name="gid" value="<?php echo ($groups["gid"]); ?>">

												<div class="control-group">
													<label for="groupname" class=" control-label">社团名称</label>
													<div class="controls">
														<input type="text" class="form-control" id="groupname"
															name="groupname" placeholder="groupname"
															value="<?php echo ($groups["groupname"]); ?>">
													</div>
												</div>

												<div class="control-group">
													<label for="team" class="control-label">所在团队名</label>

													<div class="controls">
														<input type="team" class=" form-control " id="team"
															name="team" placeholder="team" value="<?php echo ($groups["team"]); ?>">
													</div>
												</div>

												<div class="control-group">
													<label for="intro" class=" control-label">介绍</label>
													<div class="controls">
														<input type="text" class="form-control" id="intro"
															name="intro" placeholder="intro" value="<?php echo ($groups["intro"]); ?>">
													</div>
												</div>


												<div class="control-group">
													<label for="image" class="control-label">Logo</label>
													<div class="controls">
														<img class="img-rounded" id="image"
															src="/study/study/Public/Uploads/photo/<?php echo ($groups["logo"]); ?>"
															alt="no pic" width=150px; height=150px; />
													</div>
												</div>

												<div class="control-group">
													<label class="control-label">创立时间</label>
													<div class="controls">
														<input size="16" type="date" value="<?php echo ($groups["regdate"]); ?>"
															name="regdate">
													</div>

												</div>

												<input type="hidden" name="createtime" value="sysdate()">

												<div class="control-group">
													<label for="leader" class=" control-label">负责人学号</label>
													<div class="controls">
														<input type="text" class="form-control" id="leader"
															name="leader" placeholder="leader"
															value="<?php echo ($groups["leader"]); ?>">
													</div>
												</div>

											</form>
										</div>

									</div>

								</div>
								<p class="bottom-desc"></p>
								<hr />
								<div class="col-sm-12 location-main"></div>
							</div>
						</div>


						<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
							<div class="box bottom-main">
								<div class="info float-container">
									<div class="col-sm-12 bottom-title">
										<h3 class="text-uppercase">社团活动</h3>
										<h4 class="text-uppercase">mauris vitae erat</h4>
									</div>

									<div class="row">
										<div class="col-sm-12 col-md-12  contact_left">

											<table id="practices"
												class="table table-striped table-bordered dataTable">
												<thead>
													<tr>
														<td class="col-sm-2">活动名称</td>
														<td class="col-sm-1">活动时间</td>
														<td class="col-sm-1">操作</td>
													</tr>
												</thead>
												<tbody>

													<?php if(is_array($practices)): $i = 0; $__LIST__ = $practices;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$pr): $mod = ($i % 2 );++$i;?><tr>

														<td><a href="practiceInfo?pid=<?php echo ($pr["pid"]); ?>"><?php echo ($pr["name"]); ?></a></td>
														<td><?php echo ($pr["ptime"]); ?></td>
														<td>
															<div class="btn-group">
																<a class="btn btn-small dropdown-toggle"
																	data-toggle="dropdown" href="#"> 操作 <span
																	class="caret"></span>
																</a>
																<ul class="dropdown-menu pull-right">
																	<li><a href=""><i
																			class="icon-envelope"></i> 详情 </a></li>
																	<li><a href=""><i
																			class="icon-edit"></i> 报名 </a></li>
																</ul>
															</div>
														</td>
													</tr><?php endforeach; endif; else: echo "" ;endif; ?>
												</tbody>
											</table>

										</div>

									</div>

								</div>
								<p class="bottom-desc"></p>
								<hr>
								<div class="col-sm-12 location-main"></div>
							</div>

						</div>

					</div>

				</div>
				<!-- row -->



			</div>
			<!-- .content-main -->
		</div>
		<!-- .main-page -->
	</div>
	<!-- .row -->


	            <footer class="row">
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 footer">
                    <p class="copyright">Copyright © 2016 Company Name 
                    
                    | More Templates <a href="http://www.genban.org/" target="_blank" title="织梦源码">织梦源码</a> - Collect from <a href="http://www.genban.org/" title="网页模板" target="_blank">网页模板</a></p>
                </div>    
            </footer>  <!-- .row -->      
        </div> <!-- .container -->
    </div> <!-- .main-body -->

    <!-- JavaScript -->
    <script src="/study/study/Public/resource/js/jquery-1.11.3.min.js"></script>
    <script src="/study/study/Public/resource/js/bootstrap.min.js"></script>

</body>
</html>